package com.ruoyi.yipaiju.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yipaiju.mapper.GroupForeclosedHouseSigningorderMapper;
import com.ruoyi.yipaiju.domain.GroupForeclosedHouseSigningorder;
import com.ruoyi.yipaiju.service.IGroupForeclosedHouseSigningorderService;

/**
 * fo_group_foreclosed_house_signingorderService业务层处理
 * 
 * @author liuwp
 * @date 2023-03-01
 */
@Service
public class GroupForeclosedHouseSigningorderServiceImpl implements IGroupForeclosedHouseSigningorderService 
{
    @Autowired
    private GroupForeclosedHouseSigningorderMapper groupForeclosedHouseSigningorderMapper;

    /**
     * 查询fo_group_foreclosed_house_signingorder
     * 
     * @param id fo_group_foreclosed_house_signingorder主键
     * @return fo_group_foreclosed_house_signingorder
     */
    @Override
    public GroupForeclosedHouseSigningorder selectGroupForeclosedHouseSigningorderById(Long id)
    {
        return groupForeclosedHouseSigningorderMapper.selectGroupForeclosedHouseSigningorderById(id);
    }

    /**
     * 查询fo_group_foreclosed_house_signingorder列表
     * 
     * @param groupForeclosedHouseSigningorder fo_group_foreclosed_house_signingorder
     * @return fo_group_foreclosed_house_signingorder
     */
    @Override
    public List<GroupForeclosedHouseSigningorder> selectGroupForeclosedHouseSigningorderList(GroupForeclosedHouseSigningorder groupForeclosedHouseSigningorder)
    {
        return groupForeclosedHouseSigningorderMapper.selectGroupForeclosedHouseSigningorderList(groupForeclosedHouseSigningorder);
    }

    /**
     * 根据业务主键查询一条记录：fo_group_foreclosed_house_signingorder
     *
     * @param groupForeclosedHouseSigningorder fo_group_foreclosed_house_signingorder
     * @return fo_group_foreclosed_house_signingorder
     */
    @Override
    public GroupForeclosedHouseSigningorder selectOneGroupForeclosedHouseSigningorder(GroupForeclosedHouseSigningorder groupForeclosedHouseSigningorder)
    {
        return groupForeclosedHouseSigningorderMapper.selectOneGroupForeclosedHouseSigningorder(groupForeclosedHouseSigningorder);
    }

    /**
     * 新增fo_group_foreclosed_house_signingorder
     * 
     * @param groupForeclosedHouseSigningorder fo_group_foreclosed_house_signingorder
     * @return 结果
     */
    @Override
    public int insertGroupForeclosedHouseSigningorder(GroupForeclosedHouseSigningorder groupForeclosedHouseSigningorder)
    {
        return groupForeclosedHouseSigningorderMapper.insertGroupForeclosedHouseSigningorder(groupForeclosedHouseSigningorder);
    }

    /**
     * 修改fo_group_foreclosed_house_signingorder
     * 
     * @param groupForeclosedHouseSigningorder fo_group_foreclosed_house_signingorder
     * @return 结果
     */
    @Override
    public int updateGroupForeclosedHouseSigningorder(GroupForeclosedHouseSigningorder groupForeclosedHouseSigningorder)
    {
        return groupForeclosedHouseSigningorderMapper.updateGroupForeclosedHouseSigningorder(groupForeclosedHouseSigningorder);
    }

    @Override
    public int updateGroupForeclosedHouseSigningorderCondition(GroupForeclosedHouseSigningorder groupForeclosedHouseSigningorder, GroupForeclosedHouseSigningorder groupForeclosedHouseSigningorderCondition)
    {
        return groupForeclosedHouseSigningorderMapper.updateGroupForeclosedHouseSigningorderCondition(groupForeclosedHouseSigningorder, groupForeclosedHouseSigningorderCondition);
    }

    /**
     * 批量删除fo_group_foreclosed_house_signingorder
     * 
     * @param ids 需要删除的fo_group_foreclosed_house_signingorder主键
     * @return 结果
     */
    @Override
    public int deleteGroupForeclosedHouseSigningorderByIds(Long[] ids)
    {
        return groupForeclosedHouseSigningorderMapper.deleteGroupForeclosedHouseSigningorderByIds(ids);
    }

    /**
     * 删除fo_group_foreclosed_house_signingorder信息
     * 
     * @param id fo_group_foreclosed_house_signingorder主键
     * @return 结果
     */
    @Override
    public int deleteGroupForeclosedHouseSigningorderById(Long id)
    {
        return groupForeclosedHouseSigningorderMapper.deleteGroupForeclosedHouseSigningorderById(id);
    }

    /**
     * 条件删除fo_group_foreclosed_house_signingorder
     *
     * @param groupForeclosedHouseSigningorder fo_group_foreclosed_house_signingorder
     * @return 结果
     */
    @Override
    public int deleteGroupForeclosedHouseSigningorderByCondition(GroupForeclosedHouseSigningorder groupForeclosedHouseSigningorder)
    {
        return groupForeclosedHouseSigningorderMapper.deleteGroupForeclosedHouseSigningorderByCondition(groupForeclosedHouseSigningorder);
    }

}
